#region Using directives
using System;
using System.Collections.Generic;
using System.Text;
using webapp4U.DAL;
#endregion


namespace webapp4U.BOL
{
	 public class Languages
	 {
	     #region Member Variables

	     private Int32 _languageID;

	     private String _language_code;

         private String _language_name;
	     
	     #endregion



	     #region Public Properties

	     public Int32 LanguageID
	     {
             get { return _languageID; }
             set { _languageID = value; }
	     }

	     public String LanguageCode
	     {
             get { return _language_code; }
             set { _language_code = value; }
	     }

	     public String LanguageName
	     {
             get { return _language_name; }
             set { _language_name = value; }
	     }
         	     
	     #endregion

	     #region public static Methods
	    

        

	     //Get All Languages
         public static List<Languages> GetAllLanguages()
	     {
		     LanguagesDAL db = new LanguagesDAL();
		     return db.GetAllLanguages(1, 10000);
	     }

         //Get All Languages
         public static List<Languages> GetAllLanguages(int PageIndex, int PageSize)
	     {
		     LanguagesDAL db = new LanguagesDAL();
		     return db.GetAllLanguages(PageIndex, PageSize);
	     }

         // Get Count All records of Table  Languages
         public static int GetCountLanguages()
	     {
		     LanguagesDAL db = new LanguagesDAL();
		     return db.GetCountLanguages();
	     }



	     #endregion
	 }
}
